package com.lf.data.search;

import com.lf.data.Cluster;

public class Sort extends Cluster{

	public static final int DESC = 1;
	public static final int AES = 0;

	public Sort() {
		super();
	}

	public void desc(String... fields) {
		for (String field : fields) {
			this.put(field, DESC);
		}
	}

	public void asc(String... fields) {
		for (String field : fields) {
			this.put(field, AES);
		}
	}
}
